package com.framework.loippi.entity;

import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Entity - 病理知识表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_PATHOLOGY")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="病理知识表",description="病理知识表")
public class Pathology implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/**  */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "")
	private Long id;
	
	/** 是否删除(0否，1是) */
	@Column(name = "is_delete" )
	@ApiModelProperty(value = "是否删除(0否，1是)")
	private Integer isDelete;
	
	/** 病理知识标题 */
	@Column(name = "title" )
	@ApiModelProperty(value = "病理知识标题")
	private String title;
	
	/** 简介 */
	@Column(name = "desc" )
	@ApiModelProperty(value = "简介")
	private String desc;
	
	/** 病理知识内容(富文本) */
	@Column(name = "content" )
	@ApiModelProperty(value = "病理知识内容(富文本)")
	private String content;

	/** 病理知识图片 */
	@Column(name = "image" )
	@ApiModelProperty(value = "病理知识图片")
	private String image;

	/** 创建时间 */
	@Column(name = "create_time" )
	@ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	
	/** 修改时间 */
	@Column(name = "update_time" )
	@ApiModelProperty(value = "修改时间")
	private java.util.Date updateTime;
	
}
